package cn.xxd.xxdssoservice.dao;

import cn.xxd.entity.LoginUser;
import cn.xxd.entity.ShopUser;
import org.apache.ibatis.annotations.Param;

public interface LoginUserDao {
    int insertSelective(LoginUser user);

    LoginUser checkUser(LoginUser user);

    LoginUser getMsg(@Param("username") String username, @Param("name") String name);

    LoginUser getMsgById(@Param("id") String id);

    int edit(ShopUser user);

    int editLoginUser(String id, String name);
}
